package com.ele.pojo;

import java.util.Date;
import java.util.Objects;

public class Shop {
    private Integer shopId;
    private String shopName;
    private String shopAddress;
    private String shopExplain;
    private String shopImg;
    private Integer shopCategoryId;
    private Double startPrice;
    private Double deliveryPrice;
    private String remarks;
    private Integer status;
    private Date startTime;
    private Date endTime;
    private Integer recommend;
    private Integer businessId;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getShopExplain() {
        return shopExplain;
    }

    public void setShopExplain(String shopExplain) {
        this.shopExplain = shopExplain;
    }

    public String getShopImg() {
        return shopImg;
    }

    public void setShopImg(String shopImg) {
        this.shopImg = shopImg;
    }

    public Integer getShopCategoryId() {
        return shopCategoryId;
    }

    public void setShopCategoryId(Integer shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    public Double getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(Double startPrice) {
        this.startPrice = startPrice;
    }

    public Double getDeliveryPrice() {
        return deliveryPrice;
    }

    public void setDeliveryPrice(Double deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Shop)) return false;
        Shop shop = (Shop) o;
        return Objects.equals(getShopId(), shop.getShopId()) && Objects.equals(getShopName(), shop.getShopName()) && Objects.equals(getShopAddress(), shop.getShopAddress()) && Objects.equals(getShopExplain(), shop.getShopExplain()) && Objects.equals(getShopImg(), shop.getShopImg()) && Objects.equals(getShopCategoryId(), shop.getShopCategoryId()) && Objects.equals(getStartPrice(), shop.getStartPrice()) && Objects.equals(getDeliveryPrice(), shop.getDeliveryPrice()) && Objects.equals(getRemarks(), shop.getRemarks()) && Objects.equals(getStatus(), shop.getStatus()) && Objects.equals(getStartTime(), shop.getStartTime()) && Objects.equals(getEndTime(), shop.getEndTime()) && Objects.equals(getRecommend(), shop.getRecommend()) && Objects.equals(getBusinessId(), shop.getBusinessId());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getShopId(), getShopName(), getShopAddress(), getShopExplain(), getShopImg(), getShopCategoryId(), getStartPrice(), getDeliveryPrice(), getRemarks(), getStatus(), getStartTime(), getEndTime(), getRecommend(), getBusinessId());
    }
}
